<p>This is my document.</p>
<ul class="table-of-contents">
<li><a href="#content-another-copy-of-my-toc-is-here">Another copy of my TOC is here</a>
<ul>
<li><a href="#content-this-contains-something-that-looks-like-a-placeholder-but-actually-isnt">This contains something that looks like a placeholder but actually isn't</a></li>
<li><a href="#content-just-a-link-reference-down-here">Just a link reference down here</a></li>
</ul>
</li>
</ul>
<h1><a id="content-another-copy-of-my-toc-is-here" href="#content-another-copy-of-my-toc-is-here" class="heading-permalink" aria-hidden="true" title="Permalink">¶</a>Another copy of my TOC is here</h1>
<ul class="table-of-contents">
<li><a href="#content-another-copy-of-my-toc-is-here">Another copy of my TOC is here</a>
<ul>
<li><a href="#content-this-contains-something-that-looks-like-a-placeholder-but-actually-isnt">This contains something that looks like a placeholder but actually isn't</a></li>
<li><a href="#content-just-a-link-reference-down-here">Just a link reference down here</a></li>
</ul>
</li>
</ul>
<h2><a id="content-this-contains-something-that-looks-like-a-placeholder-but-actually-isnt" href="#content-this-contains-something-that-looks-like-a-placeholder-but-actually-isnt" class="heading-permalink" aria-hidden="true" title="Permalink">¶</a>This contains something that looks like a placeholder but actually isn't</h2>
<p>This is not a placeholder, but a link reference: <a href="https://www.example.com" title="Link Reference">TOC</a></p>
<p><a href="https://www.example.com" title="Link Reference">TOC</a> This should also be handled as a link reference</p>
<h2><a id="content-just-a-link-reference-down-here" href="#content-just-a-link-reference-down-here" class="heading-permalink" aria-hidden="true" title="Permalink">¶</a>Just a link reference down here</h2>
